<?php
namespace system\components;

/**
 * {@link DocumentComponent} that holds only their name and value
 *
 * <code>
 *      <DocumentValueComponentName>
 *          __value
 *      </DocumentValueComponentName>
 * </code>
 *
 * @see DocumentComponent
 * @package system/components
 * @author Pavel Egorov {@link mailto:pavel@egorov.ru pavel@egorov.ru}
 * @version 0.0.1 * $Revision: 50 $
 * @copyright Copyright (c) 2011, Pavel Egorov
 */
class DocumentValueComponent extends DocumentComponent{
    public $__value;

    /**
     * Constructor
     * 
     * @param String $strValue
     */
    public function  __construct($strValue) {
        parent::__construct(\get_class($this));
        $this->__value = $strValue;
    }
}

